75f7c3e251736e0d7cf457be45df2caf7a3daef2,platform/platform-impl/src/com/intellij/notification/impl/ui/NotificationsUtil.java,NotificationsUtil,buildHtml,#Notification#String#,40
Before Change
if (style != null) {
result += "<div style=\"" + style + "\">";
}
result += "<b color=\"#"+ ColorUtil.toHex(getMessageType(notification).getTitleForeground())+"\">" + notification.getTitle() + "</b>" +
"<p>" + notification.getContent() + "</p>";
if (style != null) {
result += "</div>";
}
return XmlStringUtil.wrapInHtml(result);
}
public static String buildHtml(@NotNull final String title, @NotNull final String content, @Nullable String style) {
After Change
title = StringUtil.trimLog(title, TITLE_LIMIT);
content = StringUtil.trimLog(content, CONTENT_LIMIT);
}
return buildHtml(title, content, style, "#" + ColorUtil.toHex(getMessageType(notification).getTitleForeground()));
}
public static String buildHtml(@NotNull final String title, @NotNull final String content, @Nullable String style) {